package com.xhb.biz.po;

import java.io.Serializable;
import java.util.LinkedHashMap;

import org.noear.solon.validation.annotation.NotNull;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teamdev.jxbrowser.navigation.event.FrameLoadFinished;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户收藏网址
 *
 * @author tanyukun
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_collect_url")
public class CollectUrlPO implements Serializable {

    @NotNull
    @TableId(type = IdType.NONE)
    private String id;

    @TableField("name")
    private String name;

    @TableField("collect_group_id")
    private String collectGroupId;

    @TableField("sort_no")
    private Integer sortNo;

    @TableField("url")
    private String url;

    @TableField("icon")
    private String icon;

    @TableField(exist = false)
    private LinkedHashMap<String, String> groupMap;
    
    @TableField(exist = false)
    private FrameLoadFinishedCall frameLoadFinishedCall;
    
    public static interface FrameLoadFinishedCall {
    	public void doEvent(FrameLoadFinished event);
    }
}
